/**
 * @author xz@qq.com
 * @time 2022-04-20 16:40 PM
 * @description 修改密码页面的接口封装
 */
 import Ajax from './Ajax.js'
// 修改密码接口
 export function updateApi(password,newPassword) {  
    return Ajax({
      url:'/update/password',
      method:'post',
      data:{password,newPassword}
    })
  }